package com.lanjiu.lib.business.task;

import com.lanjiu.lib.business.listener.OnTransmissionFinishListener;

import java.util.Vector;

/**
 * @description: 任务基类
 * @author: Panwei
 * @date: 2019/11/4 15:57
 */
public abstract class TransmissionTask {

    private static Vector<String> mMultipleList = new Vector<>();

    public static void add(String value) {
//        mMultipleList.add(value);
    }

    public static boolean contains(String value) {
        return mMultipleList.contains(value);
    }

    public static void remove(String value) {
        mMultipleList.remove(value);
    }

    public static void clear() {
        mMultipleList.clear();
    }

    protected abstract OnTransmissionFinishListener getTransmissionFinishListener();
}
